package com.mhys.hms.service.user;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mhys.hms.entity.Department;

public interface DeptManagerService {
	public List<Department> getDeptInfo(int pageSize,int pageNumber,String deptNo,String deptName);
	public Integer delDeptInfo(String deptId);
	public Integer addDeptInfo(Department dept);
	public List<Department> getDeptInfoById(Integer id);
	public int getTotalNum(int pageSize,int pageNumber,String deptNo,String deptName);
	public List<String> queryAllDeptName();
	public List<Department> queryDeptByName(@Param("deptName")String deptName);
}
